package com.benio.ycfdisplayer.fresco;

import com.benio.ycfdisplayer.displayer.Target;
import com.facebook.common.references.CloseableReference;
import com.facebook.imagepipeline.image.CloseableImage;

import java.io.Closeable;

/**
 * Created by zhangzhibin on 2017/3/23.
 */
public interface CloseableBitmapTarget extends Target, Closeable {

    void setCloseableReference(CloseableReference<CloseableImage> closeableReference);

    @Override
    void close();
}
